//
//  DBInterface.h
//  readNovels
//
//  Created by wulanzhou on 2017/2/28.
//  Copyright © 2017年 wulanzhou. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol DBInterface <NSObject>

@optional
- (BOOL)Insert:(id)entity; //新增
- (BOOL)Update:(id)entity; //修改
- (BOOL)Delete:(id)kId;    //删除
- (id)Entity:(id)kId;      //获取一个对象
- (NSArray*)list:(id)map;  //获取列表

@end
